ahrefs\AhrefsSeo_Vendor\phpseclib\Net\SFTP D

Total Complexity 609
Dependencies 1
Dependents 1
Total lines 3,379
Lines of code 2,024
Logical lines of code 1,417
Comment lines 1,238
Methods 81
Properties 27

Methods 81

Method Rating Maintainability Complexity Lines of code
_parseAttributes()
D
20
62 202
put()
D
24
48 153
get()
D
29
35 122
_list()
C
32 29 96
_comparator()
C
41 27 52
_get_sftp_packet()
C
34 23 84
_realpath()
B
38 21 68
_init_sftp_connection()
B
40 18 55
_partial_init_sftp_connection()
B
39 17 64
_setstat_recursive()
B
42 17 49
_delete_recursive()
A
43 15 49
lstat()
A
44 15 44
stat()
A
46 14 38
rawlist()
A
47 12 33
_update_stat_cache()
A
49 12 29
delete()
A
46 11 39
touch()
A
45 10 38
chdir()
A
47 10 36
_nlist_helper()
A
51 10 26
_parseMode()
A
53 10 24
_setstat()
A
47 9 34
rename()
A
48 9 33
readlink()
A
49 8 32
symlink()
A
49 8 30
chmod()
A
49 8 30
filetype()
A
54 8 22
rmdir()
S
51 7 27
__construct()
S
37 4 64
_get_xstat_cache_prop()
S
57 7 17
_send_sftp_packet()
S
49 6 29
_mkdir_helper()
S
53 6 22
mkdir()
S
54 5 20
is_writable()
S
55 5 20
is_readable()
S
55 5 20
_close_handle()
S
55 5 19
_remove_from_stat_cache()
S
56 5 18
_read_put_responses()
S
56 5 18
_parseLongname()
S
59 5 15
_stat()
S
58 4 16
_logError()
S
58 4 15
setListOrder()
S
59 4 14
_query_stat_cache()
S
59 4 14
file_exists()
S
61 4 13
getSupportedVersions()
S
60 4 13
getSFTPLog()
S
62 3 12
_parseTime()
S
60 3 12
size()
S
68 3 7
_precheck()
S
65 3 9
chown()
S
72 2 4
getLastSFTPError()
S
77 2 3
getNegotiatedVersion()
S
72 2 6
realpath()
S
71 2 6
chgrp()
S
72 2 4
is_link()
S
68 2 7
is_file()
S
68 2 7
pwd()
S
72 2 6
is_dir()
S
68 2 7
enableStatCache()
S
81 1 3
setPreferredVersion()
S
82 1 3
_reset_connection()
S
69 1 7
disableStatCache()
S
81 1 3
getSFTPErrors()
S
83 1 3
_disconnect()
S
76 1 4
enableDatePreservation()
S
81 1 3
clearStatCache()
S
82 1 3
fileatime()
S
80 1 3
enablePathCanonicalization()
S
81 1 3
_get_lstat_cache_prop()
S
79 1 3
_get_stat_cache_prop()
S
79 1 3
disablePathCanonicalization()
S
81 1 3
filesize()
S
80 1 3
filegroup()
S
80 1 3
fileowner()
S
80 1 3
fileperms()
S
80 1 3
filemtime()
S
80 1 3
truncate()
S
73 1 4
is_writeable()
S
81 1 3
enableArbitraryLengthPackets()
S
81 1 3
disableArbitraryLengthPackets()
S
81 1 3
nlist()
S
79 1 3
disableDatePreservation()
S
81 1 3